home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: EditView location/Deleting views
- Sent: 8/6/96 1:58 PM
- Received: 8/6/96 1:11 PM
- From: Greg Friedman, friedman@cognosis.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Scott Daniels wrote:
- > ODF Team,
- >
- > I am using the new EditView class to edit text in a content view. However,
- > I am creating the editview on the fly wherever needed. Not knowing how to
- > delete the view once created (delete myView causes a crash), I instead
- > hide the view after using, and then tried to move it when I needed it
- > again. To my surprise, the move/resize (locationchanged/sizechanged)
- > member functions are not coded! Could someone tell me either:
-
- ODF 2 does a better job of dealing with relocating and sizing edit views.
-
- Rob Cope recently posted a description of a bug he found when deleting
- views. FW_CFrame caches a pointer to the view the mouse was most recently
- over. If this view is deleted, FW_Frame won't know about the deletion, and
- will try to use the stale pointer. Is it possible that this is the crash
- you are running into when you delete your edit view? If not, do you have an
- idea where the crash is happening? If you can figure out why you are
- crashing, I can fix the problem for the next release.
-
- Greg.
-
-
- ___________________________________________________________
- Greg Friedman ODF Engineering Apple Computer
-
-
-